#pragma once
#include "DeviceUserBase.h"
#include "ResourcePool.h"
#include <string>

namespace Display
{

	class Texture;
	class RenderPack;
	class EXPORT ResourceFactory : public DeviceUserBase
	{
		ResourcePool * pool;

		ResourceFactory(void);
		~ResourceFactory(void);

	public:
		static ResourceFactory * Create(ID3D11Device * device);
		static void Destroy(ResourceFactory * factory);

		 ResourcePtr * LoadTextureFromFile(std::string fileName);
		 RenderPack * LoadRenderPackFromFile(std::string fileName);
		

	};
}

